/*
    Name: Easingthemes starter
    Date: November 2013
    Description: Starter web with UIkit and H5BP.
    Version: 1.0
    Author: Dragan Filipović
    Autor URI: http://easingthemes.com
*/

/* ==========================================================================
   Organogram
   ========================================================================== */ 
/*.uk-panel-box.organogramnovi {
  padding: 15px 0;
}*/
/*.uk-container {
max-width: 1200px;
padding: 0;
}*/
.uk-list ul {
padding-left: 0px;
}
/*.uk-panel-box {
padding: 5px;
}*/
#organogramload {
 /* max-height: 700px;
  width: 167px;*/
  /*overflow-y: auto;*/
  /*overflow-x:hidden;*/
}
#main2 {
  padding-left: 35px;
}

.snimi, .ucitaj, .obrisi, [type="button"] {
  cursor: pointer;
}
.ver date {
  font-size: 9px;
  position: absolute;
  bottom: 0;
  left: 5px;
}
.ver {
  display: inline-block;
  margin: 5px 10px;
  border: #eee solid 1px;
  padding-left: 10px;
  position: relative;
  min-width: 178px;
  text-align: left;
  height: 38px;
  transition:all 0.5s linear;
}
.ver b {
  text-align: left;
  display: inline-block;
  position: absolute;
  top: 3px;
  left: 5px;
}
.ver .ucitaj, .ver .obrisi {
  display: inline-block;
  position: absolute;
  top: 0;
  height: 38px;
  line-height: 38px;
}
.ver .ucitaj {
  right: 58px;
}
.ver .obrisi {
  right: 0;
}
.ucitano {
  background: #00a8e6;
  color: #fff;
  border-color: #00a8e6;
}
.loading {
  width: 200px;
  margin: 5px 0 0 -100px;
  position: absolute;
  bottom: -37px;
  left: 50%;
}
.uk-progress {
-moz-box-sizing: border-box;
box-sizing: border-box;
height: 20px;
margin-bottom: 15px;
background: #f7f7f7;
overflow: hidden;
line-height: 20px;
box-shadow: inset 0 0 0 1px rgba(0,0,0,.07),inset 0 2px 2px rgba(0,0,0,.07);
border-radius: 4px;
}
.loadverzija {
  display: none;
}
#ver {
  height: 50px;
  position: relative;
}
.brojredova,
.brojredova2 {
  height: 30px;
  width: 30px;
  text-align: center;
}
#organogram li ul li{
  width: 117px;
  height: 40px;
  border:  rgba(0,0,0,0.3) 1px dashed;
  border-radius: 10px;
  position: relative;
}
#organogram p, .organogramnovi span p {
  display: inline-block;
  width: 117px;
  height: 40px;
  text-align: center;
  border: #444 1px solid;
  border-radius: 10px;
  margin: 0;
  -webkit-margin-before: 0em !important;
-webkit-margin-after: 0em !important;
  background: #eee;
  left: -1px;
  top: -1px;
  z-index: 999;
}
.organogramnovi .kutija-0, .organogramnovi .snimljenop {
  z-index: 1000;
}
#organogram li div.uk-vertical-align {
  display: inline-block;
  width: 117px;
  height: 40px;
  text-align: center;
  border-radius: 10px;
  margin: 0;
  -webkit-margin-before: 0em !important;
-webkit-margin-after: 0em !important;
  background: none;
  position: absolute;
  left: -1px;
  top: -1px;
  z-index: 1;
  opacity: 0.1;
}
#organogram p.prvobitno {
/*  width: 117px !important;
  height: 40px !important;*/
}
#organogram p span {
  display: inline-block;
  text-align: center;
}
.edittext,
.edittext input {
  min-width: 110px;
}
#organogram .uk-list-line>li:nth-child(n+2) {
margin-top: 5px;
padding-top: 0px;
border-top: rgba(0,0,0,0.3) 1px dashed;
}
#organogram  li ul li p {
  z-index: 1001;
  cursor: move;
}
/*.node {
  position: relative;
}*/
.node span {
  display: none;
}
.organogramnovi {
  /*z-index: -1;*/
}
#hideshow a, #snimitabelu a {
  width: 120px;
  text-align: center;
}
#edit a {
  width: 140px;
  text-align: center;
}
#redoviForma {
  width: 40%;
  float: left;
}
.greskabrisanja, .greskaelement {
  width: 30%;
  display: inline-block;
  margin: 0;
  padding: 5px;
  float: left;

}
.wordsaved {
  display: inline-block;
  width: 115px;
  height: 17px;
  margin: 0;
  padding: 5px 10px;
}
#glavnatabela {
  position: relative;
/*  width: 94%;
  margin-left: 3%;*/
}
.organogramnovi   table {
    border-spacing: 0px;
    border-collapse: separate;
}
.organogramnovi  .uk-table td {
width: 130px;
height: 60px;
border: transparent 1px dashed;
position: relative;
}
.organogramnovi   tbody tr  td div {
position: absolute;
left: 0;
top: 0;
margin-top: -8px;
margin-left: -8px;
/*background: url(../img/grid.png);*/
width: 50%;
height: 50%;
}
.organogramnovi   tbody tr  td div:nth-child(5), .organogramnovi   tbody tr  td div:nth-child(6) {
z-index: 997;
}
.organogramnovi   tbody tr  td div:nth-child(1), .organogramnovi   tbody tr  td div:nth-child(2),
.organogramnovi   tbody tr  td div:nth-child(5), .organogramnovi   tbody tr  td div:nth-child(6) {
cursor:ew-resize;
}
.organogramnovi   tbody tr  td div:nth-child(3), .organogramnovi   tbody tr  td div:nth-child(4),
.organogramnovi   tbody tr  td div:nth-child(7), .organogramnovi   tbody tr  td div:nth-child(8) {
cursor:ns-resize;
}


.organogramnovi   tbody tr  td div:nth-child(1) {
left: 0;
top: 50%;
height: 20px;
}
.organogramnovi   tbody tr  td div:nth-child(2) {
left: 50%;
top: 50%;
height: 20px;
}
.organogramnovi   tbody tr  td div:nth-child(3) {
left: 50%;
top: 0;
width: 20px;
}
.organogramnovi   tbody tr  td div:nth-child(4) {
left: 0%;
top: 0;
width: 20px;
}
.organogramnovi   tbody tr  td div:nth-child(5) {
left: 0;
top: 100%;
height: 20px;
}
.organogramnovi   tbody tr  td div:nth-child(6) {
left: 50%;
top: 100%;
height: 20px;
}
.organogramnovi   tbody tr  td div:nth-child(7) {
left: 0;
top: 50%;
width: 20px;
}
.organogramnovi   tbody tr  td div:nth-child(8) {
left: 50%;
top: 50%;
width: 20px;
}


.organogramnovi   tbody tr:first-child  td:last-child div:nth-child(11) {
left: 100%;
top: 0;
width: 20px;
  background: url(../img/grid-v.png) !important;
  margin-top: 0px;
  padding: 2px 0px;
  cursor:ns-resize;
}
.organogramnovi   tbody tr:first-child  td:last-child div:nth-child(12) {
left: 100%;
top: 50%;
width: 20px;
  background: url(../img/grid-v.png) !important;
  margin-top: 0px;
  padding: 2px 0px;
  cursor:ns-resize;
}
.organogramnovi   tbody tr  td:last-child div:nth-child(9) {
left: 100%;
top: 0;
width: 20px;
  background: url(../img/grid-v.png) !important;
  margin-top: 0px;
  padding: 2px 0px;
  cursor:ns-resize;
}
.organogramnovi   tbody tr  td:last-child div:nth-child(10) {
left: 100%;
top: 50%;
width: 20px;
  background: url(../img/grid-v.png) !important;
  margin-top: 0px;
  padding: 2px 0px;
    cursor:ns-resize;
}
.organogramnovi   tbody tr:first-child  td div:nth-child(9) {
left: 0;
top: 0;
height: 20px;
width: 50%;
background: url(../img/grid-h.png) !important;
margin-left: 0px;
margin-top: -8px;
 padding: 0 2px;
   cursor:ew-resize;
}
.organogramnovi   tbody tr:first-child  td div:nth-child(10) {
left: 50%;
top: 0;
height: 20px;
width: 50%;
background: url(../img/grid-h.png) !important;
margin-left: 0px;
margin-top: -8px;
 padding: 0 2px;
   cursor:ew-resize;
}
/*.organogramnovi   tbody tr  td:last-child div:nth-child(2),
.organogramnovi   tbody tr  td:last-child div:nth-child(6) {
display: none;
}*/
.organogramnovi   tbody tr  td > span{
  background: #fff;
display: block;
width: 117px;
height: 40px;
position: absolute;
left: 50%;
top: 50%;
/*z-index: 998;*/
margin: -21px 0 0 -57px;
border: rgba(0,0,0,0.3) 1px dashed;
border-radius: 10px;
cursor: pointer;
text-align: center;

}

/*.organogramnovi.snimljenOrg   tbody tr  td > span{
  z-index: 1111;
  }*/

/*.none {
background: url(../img/grid.png) !important;
 padding:2px;
}*/
.hidegrid tbody tr  td div{
  border: none;
  background: none !important;
}
.hidegrid tbody tr td > span{
  border:  transparent 1px solid;
}
.none:nth-child(1), .none:nth-child(2), .none:nth-child(5), .none:nth-child(6) {
  background: url(../img/grid-h.png) !important;
margin-left: 0px;
 padding: 0 2px;
}
.none:nth-child(3), .none:nth-child(4), .none:nth-child(7), .none:nth-child(8) {
  background: url(../img/grid-v.png) !important;
  margin-top: 0px;
  padding: 2px 0px;
}
.solid:nth-child(1), .solid:nth-child(2), .solid:nth-child(5), .solid:nth-child(6) {
  background: url(../img/solid-h.png) !important;
margin-left: 0px;
 padding: 0 2px;
}
.solid:nth-child(3), .solid:nth-child(4), .solid:nth-child(7), .solid:nth-child(8) {
  background: url(../img/solid-v.png) !important;
  margin-top: 0px;
  padding: 2px 0px;
}

.organogramnovi   tbody tr  td:last-child div.solid:nth-child(9),
.organogramnovi   tbody tr  td:last-child div.solid:nth-child(10),
.organogramnovi   tbody tr:first-child  td:last-child div.solid:nth-child(11),
.organogramnovi   tbody tr:first-child  td:last-child div.solid:nth-child(12) {
  background: url(../img/solid-v.png) !important;
}
.organogramnovi   tbody tr:first-child  td div.solid:nth-child(9),
.organogramnovi   tbody tr:first-child  td div.solid:nth-child(10) {
  background: url(../img/solid-h.png) !important;
}
.dashed:nth-child(1), .dashed:nth-child(2), .dashed:nth-child(5), .dashed:nth-child(6) {
  background: url(../img/dashed-h.png) !important;
margin-left: 0px;
 padding: 0 2px;
}
.dashed:nth-child(3), .dashed:nth-child(4), .dashed:nth-child(7), .dashed:nth-child(8) {
  background: url(../img/dashed-v.png) !important;
  margin-top: 0px;
  padding: 2px 0px;
}
.organogramnovi   tbody tr  td:last-child div.dashed:nth-child(9),
.organogramnovi   tbody tr  td:last-child div.dashed:nth-child(10),
.organogramnovi   tbody tr:first-child  td:last-child div.dashed:nth-child(11),
.organogramnovi   tbody tr:first-child  td:last-child div.dashed:nth-child(12) {
  background: url(../img/dashed-v.png) !important;

}
.organogramnovi   tbody tr:first-child  td div.dashed:nth-child(9),
.organogramnovi   tbody tr:first-child  td div.dashed:nth-child(10) {
  background: url(../img/dashed-h.png) !important;

}
.ui-state-highlight2 {
  border: #444 1px dashed;
  background: #ebf7fd !important;
}
.drop-hover {
  background: #8cc14c !important;
  box-shadow: #8cc14c 0 0 5px 1px;
}
.hidebox.ui-state-highlight2 {
  border: none;
  background: none !important;
}
.hideLine.none {
  display: none;
}
.hidegrid tbody tr td div.none:not(.hideLine) {
  display: block;
  background:  url(../img/grid.png) !important;
}

.organogramnovi tbody tr td span.hidebox {
  z-index: 998;
  border: transparent 1px solid;
  background: none;
  cursor: pointer;
  -webkit-transform:scale(0.7);
  -webkit-transform-origin:50% 50%;
  transition:all 0.3s linear;
}
.organogramnovi   tbody tr  td  > span:hover{
background: #ebf7fd;
transition:all 0.3s linear;
}
.organogramnovi   tbody tr  td  span.hidebox:hover{
background: rgba(0,0,0,0.1);
z-index: 998;
}
.organogramnovi.hidegrid   tbody tr  td  span:hover,
.organogramnovi.hidegrid   tbody tr  td  span.hidebox:hover{
background: #fff;
cursor: default;
}
.organogramnovi.hidegrid tbody tr td span.edittext:hover {
background: none;
cursor: pointer;
}
.organogramnovi.hidegrid   tbody tr  td  div:not(.solid,.dashed) {
 cursor: default; 
}
.pristup {
  display: none;
}
.nazivSektora article {
  margin-top: 30px;
}
